previous function renable