fixing edit button placements