fixed constant error