fixed desktop variables

sometimes have to use %%, sometimes not, rather confusing!