reoved obsolete content
added translations
fixed variable usage before assignment