fixed issues with single columns being fetched from db