fix a conflict between hide/show and ordering features