bugfixes

fixed some bugs i recognized during McSmartphone development