debug port fix (not smart...)