fix load lib for 2.4