Removed redundant type conversion