Case error in detectPdP