bugs fixed

fixed bug with partial views not receiving local variables correctly