fixed search and dept input to block level sizes
merge conflict