fixed mood check in redirect