derived file
fixed memory error