Remove a needless code