add auto cast super globals constructor