app: fix redirect