default type to false if not set