fixes for old android versions