fixed boss bugs