don't do stuff if attrs not present