append trailing slash to path in loadData