add support of inline display