bug fix
adding picture deleting funcs