fixed equality comparison in multiport module