validating that ips_layout is a dict before trying to use it