Removing unused error