Safe For Hammy? (Read Caption)

my hammy likes burrowing in the corners of his cage and today i noticed that he bites on the glue(?) that’s on the sides. is this okay? if not is there a way to prevent him from doing it? the cage is from petsmart if anyone is wondering