fix dicktyping bug