fix for keeping dividers in right place