fixed stupid mistakes