fix directory hard-codes