gradcheck fixes are not easy