Fix snow contract generation