fix small typo in log in directory loader