fixed logical issue