undo adding scale to global vars