ProfileExtender: even more error checking