fix upload env path issue