Shortcode for CustomPress

I have setup a custom post type for team members using custompress and have added a custom field for role. I have then added this code into my functions.php file to register a shortcode to output all the team members.

function teammembers_func( $atts ) {

$args = array( 'post_type' => 'team', 'posts_per_page' => 20 );
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
	$profiledata .= "<div class='single-profile'>";
	$profiledata .= get_the_post_thumbnail();
	$profiledata .= "<span class='profile-title'>" . get_the_title() . "</span>";
	$profiledatarole = get_post_meta( $post->ID, 'ct_Job_Title_text_1e38', false );
	$profiledata .= "<span class='profile-role'>" . $profiledatarole . "</span>";
	$profiledata .= "<p>" . get_the_content() . "</p>";
	$profiledata .= "</div>";
endwhile;

	return $profiledata;
}
add_shortcode( 'teammembers', 'teammembers_func' );

This works great except it doesn't return the custom field. Any ideas what I'm doing wrong?