Documentation, bugs correction