removed pointless line from handleEdit