Solved bug returning sunday on sunday
Fixed variable names