modified iocomplete