Fix bug creating multiple behaviors