fix a bug in custom.el