fix empty array problem, use after_comma only condition