Fixed some equations