API bugfixes for Android app