sample_controller fix double redirect