Fix reset (fixes #439)

#439