in ide its showing correct output