fixing shade plugin