now check if host is present before crypting it