fix sed for mail_location