fixed pin dropping/saving/editing issue