bug fixes, highlight of active bricks