Fixed casting etc. Scoreboard still weird