Fix for onedrive issue - #1257