fixing numerrors problem