fix item bug, added formatter for eclipse