fixed executing command from param