fixed another double entry bug