fix zpp call + minor warnings