how to handle path too long error