fixing port instructions