add preference for shift week, fix a bad bug