added compatibility for higher res