solve bug controller