Added patch to fix array to string conversion in expire