added queue UI and style fixed get size function