fixed issue with host opt