avoid some typical mistakes