improved support for immediate vectors