web app and schedule task router interface type fix