fix days value