papertrail port to integer