How to solve this error Bug?