Fixed error just have to test it to see if fixed