fix bug splitting  variables statement