Fix the constant bug