Fixed some stuff. Hope this works.