remove ~
minor refactor