Imdb fix

Fix a couple of issues with imdb, including #35