allow tilde, fix #5