change cache expire params to be read as integers