minor fix
a more convenient hotkey of main function
fix the primitive type of double