getLastBlockDate fix