fixed problem with previous reg vs non.reg result