fixed second chance bug