fix bug when labelDrawables is not given the program will crash