Fixed bug with typeHelper reference