NA sequence check in fixNA and some code changes in amptester