fixed a bug in robot scoring