Fixed Brainweaver bug