prepare release 0.40.2