fix for trails