[USERGRID-288]Removing unused variables