Fixed constant bugs.