correcting size and length mistakes