fixed EOL error and bypass queries for birth cert