more changes... uh. im tired, I don't remember all of them. scaling works properly now