solve store credit problem