fixed dropdown menu errors