fixes file not found on server start