block flushing added
moa flushing + makefile fix