fix no constant bug