fixed issue wherein we calculated negative SEs sometimes (erroneously)