catch if stuff is undefined