refactor: remove semantic0 hack

this code is no longer needed