Use ~ instead of ^

Fixing the ^ added in #16