use replace to replace the doctrine
Merge pull request #2 from marcoleong/filters

use replace to replace the doctrine