fix error in Drawing Activity