fixed form redirect on path settings add submit
removed debugging code