edit for img exchange
edit for ajax error