fix compile-toolbar