To ensure good adhesion, spread the peppermint bark layer over the brownie base while it's still slightly warm. This helps the layers to fuse together as they cool.