added reset method & changing default options bug fix