fixed search-partition layout bug