fix api level problem