b error fixed