Fix variables related to sequence position in header file
fix maxlength