Merge pull request #31 from altsai/master

add flash target build id
fix bugs