fix char & string compare
fix action name error
add decodeURL method