fix bug on customer and user delete