fix static blocks