Fixed some edges stuff