[PATCH v6 2/2] Changed back to adv_bytes and spatial fix