bug, call to non function