fixing bug with layout name