Fixed some compiler errors my bad