Well its not a crate its like a caged play pen its really big and spacious but he hates being confined in it. My bf thinks he's taking to my personality as I'm a bit of a drama queen and he's acting like he's hyperventilating when I put him in his cage now, he did it again this morning but I let him out

I hope there's no accidents when I get home. So what do you all suggest I do to correct behavior like accidents? He knows he's wrong but he does it anyway. How do I correct that? Obviously putting him in the cage is not working.