passing non model attributes partially working