fixed some filing issue