Fixed disable_warning not working