fix is_fucntion()