Removed redundant cast