Fixed #1 on exception when handling set type value