bug fix if params[:order] not set