fixed libsrc bug