Fixed a boug in stats and changed layout a bit