preview API fix + feedback to user when loading fails