fixed the specs issues for ES7