Fixed no record crash