btw error fixing