fixed require statement for subscribe class