function check fix