Fixing

Fixed mistake of type conversion