fix random stuff