fix import of constants