fixed bug with missing credit key