fixed incorrect remove gold option on empty case.