Fix scoring bug