some wince fixes