Fixed problem with attempts count