Fixed using wrong constant and renamed constant