Fixed constant bug