change kick function