moving htoprc to proper place