added some checks for null plugs in Box's plug promotion methods