Make sure attributes exists