more bug fixes
rebuild lib