remove repetitive none statement introduced in a6009908e44e0ceb3204ba21c245d26eab56c51c