fixed a few bugs in the desktop page