bug with sdata