remove unnecessary $