resolving error for local