model is empty in redirect