bug fix for android build