fixed the type message - ref. the doc