reset attributes on build object