bash fix date was conflict with __last_err