issue #36 added another fallback solution for constants