fixing uninitialized constant error