minor issue fixed for days remaining function