removed unneeded scope elements