linear.rb fix single varialbe