fixing teh buags