Fixed compatability with old android versions