fix callback removing image