fix master env