fixed egress problem