remove invalid type substatements

Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>