fix bug (reg --> smooth)