fix error and reduce number of desktops