Fix indentation, length check