Fixed a bug regarding the 'type' property