wait for parsing finish until callback
logic for page creator