fixing a small bug where the task input could be the wrong color