* fixed problem with redirect and wrong used config var