Fix annoying exception