fixed PDP bug for centering plots