fix consistancy of gradient on coupled patches