minor code cleanups
fix compilation failure when trying to analyse non-trivial non-type strings as types