fixed some minor design errors