dynamic-typing snafu work-around