fix for checking paths in waiter