Fixed replace * bug