bug vith lengths is fixsed