resovle bug