Fix bug of in_trusted_source_directory?