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