Corrected a little problem on translations
Added some comments and fixed a little bug