fix issues in informal specification
work on more issues