cleanup markup