ProfileExtender: additional error checking
ProfileExtender: even more error checking