remove builder and fix syntax error