added eraser but unable to erase image