LIttle modification to resolve the bug causing error while copy to dropbox