Fix reso check