fixing length documentation