fixed inline error