fixing crappy bug :rat: