Solved bug deleting images by module deletion handler