Fixed negative credit bug. Still need to fix levels