fixed bugs in options request