microfix type case, cleaning code