change version to 0.5.1-alpha
minify code