fixed datalogging(including CE all works)

also fixed continue issue