Fixed issues with WebAPI and showPoster function