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