fix file not found exception