trying to get rid of some scaling stuff. profiling needs fixing