fixed len for nil