Fix bug window