sql typo in directory sync