Fix before comma after closed bracket
Fix the case that previous line is empty