fixed PEx debug warnings