do not create empty mafs when theres nothing to output
Merge branch 'development' of github.com:glennhickey/hal into development