Fix sed command and added tips