Tested and fixed core scaling bug