Removed some useless things in bendingcommand