rm useless method