build after fixing some errors