fixed warning messages on Android compilation