minor fix
date not working