fix inconsistency when custom language applied