fixed bug with monday first