fix phpthumb, bkmanager