fixed part where credits were stored as string, now stored as int