handler: remove needless codes