fix design bug