Fix bug controller