rename x_len,y_len to width,height