fixed exception when calling reset() without any arguments