fixed bugs of losing options params