Fix Syntax Errors in flash-image