Fixed bug due to missing quantity "B"