small problem with editing image