fix so it's compilable for Android