Removed unneeded casting