Added material replacing with '#' instead of '$'