fixed compile error and removed unnecessary operator fragment