handle port mod and queue op errors