black portal fix, untested