fixing missing edit button