build action fix for analyze and for archive