remove $ from passed var