Prevents warnings being carried over into next action