Fixed all the errors

Doesn't work