buggy code find error please