added variable, fixed broken layout links