Fix constant type