fail handler added for creating/editing item