woops, properly fixed that directory bug