some bug fixes related with custom operator

modify graph, ParseAndReplace function has changed