fixed always return attrs for whl format