fix random