fixed broken edit button