fixed standardize figure function some