fixing bug created by bcms's weird coding choices