fixed location merge bug for sequences