fixing edit