fixes error on collection for dropdown