added condition to call scheduler's standby