Updated to fix writedata for empty params