version 5.0.12

fixed #42
fixed #43 
fixed #44 
fixed #45