save action in controller fix