fix some syntax errors silently break the bundle