fix a bug that not support $