fix bugs
fix bugs on random.randint
ready to run on the server