inline bug fixed