change display method to inline