Fixed use of undefined constant