How to attach a BDF container correctly