clean rc. improve bash.