improved background compatibilty