removing most warnings in ppi/survey related code