remove bit of useless code.