fix sending data form model to view