some bug fixes, make a desktop