fixed index file
fixed stream call