Changed type value so correct value at dropdown is displayed