remove gaps in final seq