Fix multiple syntax check buttons issue.