fix None value