sunday error fixed