Fixed a bug in the builder template