[fix] do not parse script source with protocol definition