When "Browsing Community Directory" I get errors using 6.7 beta.

Number of Posts
Quote
Can't use string ("member_directory_sort_POSTCOUNT") as a symbol ref while "strict refs" in use at CGIPath/ubb_profile.cgi line 1584.
Code
 			@sorted[ $sp .. $ep ] = sort $method @sorted[ $sp .. $ep ];
		} # end foreach
 
Display Name
Quote
Can't use string ("member_directory_sort_PDN") as a symbol ref while "strict refs" in use at CGIPath/ubb_profile.cgi line 1725.
Code
 			if($order[$orderdex] ne chr(255)) {
				@sorted[ $sp .. $ep ] = sort $method @sorted[ $sp .. $ep ]; 
Any idea how I'm to fix these errors? <img src="https://www.ubbcentral.com/boards/images/graemlins/confused.gif" alt="" />

Thanks!