Replaced ' ' with 'None' in factory module