Fixed an obvious error but it may not be enough to cure it completely.