check instance before using

else just loggin all!!