improved 0 credit guard and validation