fix BEGINPRODUCT