output options[:y] for debugging and fix params bug