fixed bug in evalRegMethod