fix configuration (avoid trailing slashes problem)