projects substr fix