Fix Constant bug

Using Constant.* menber rather than the whole class as paramenter.