fix random result