fixed use of type alias, caused compilation to hang