fixed wrong function call in npot