fixed a bug on setup.php, following the cache directory update