corrected mistakes to the libs creation