Add a bit documentation
Fix crash caused by improper progressing.