date correct in plugin