fix bug calenadr and regiset had same paramter