correct paths in search