fixed bug introduced by architechture check on android