fixed gradient bug (maybe)