build process fixed for new AS