fix blog category check