partially fixed bug with kcfinder