fix bug in sweet theme