remove function check