fixing picture place holder's removal function