fixes for passing target inside post or get