Fix weird errors