Fix embarassingly stupid errors