fixing negative scores