check for incorrect in/out assignments to prevent crash