Backend dev

Fixed flag comment bug #54