fixed stupid const use