fixed initial None type