fix length thing