no error handling for the cpDir callback?