fixed stupid bug