remove dublicated lines
fixed some path variables