fixed now() and than()