Remove an unnecessary code