[#15] cleanup of gradient