correct syntax errors in block displays