fixed sequential equals operations
fixed base conversion for new global variable