fixing layoutScript bug