Fixed home and _edit pages

renamed variables due to conflict.