fixed faulty binding for scheduling