fixing the preview button id