fixed a bug with DEC and H flag
deleted unused files
mac project updated