fix lazy data, + encoding