update callStatic

bugfix updated callStatic to handle no-polys