fixing edit.. not done