fix crashes on success