drop trailing ; after if statement.