fixed options bug