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