fixed an exception in makecall