fixed billing when backend reports an error