fix working with brains