Fixed some stupids mistakes