Formulas related to Zastava spaces