minor design bug fixes