Fixed score undefined