dob encoding problem