improve department tree loading speed