minor work on firmware