Removing unused var
correcting bug in ratranInput