avoid unknown function call bug