fix some bugs for SQAESDE spec

detail in commit logs