Fixed NPE on details page