fixed global var commands