ports bugfix