changed date param to null