fixed mystery bug & revamped toScale