fixed uninitialized constant error