bugfix for negative scores