changed logging pbug_var() ma not be working