fixed old html rendering directive