changed system template of math3 so that hidden info is inside form