fixed a bug with inject mustache