fixing scoreType reference