Fixed errors

Now builds properly