Fixed enable bug with function builder