Remove useless and stupid code