fix the use of inline