Added try-catch block for Display.create