check for empty statements