with buggy gradient