renamed doc class, got NullPointerException