fixed inappropriate usage of inline.