fix decline ending main path