accept tilde (~) in config