test of substr fix