gradient: remove two unnecessary (testing) lines