fixing issue with constnat initalization