fix bugs and make it a little bit more simple to use the rank system