Removed unneeded cast