pre-calculate symbols
fix symbol calculation