fix weekend error