fix jumping edit button issue