minor error fix with session_controller