displaying 1 option instead of array