fixes most things