fix for TER