remove err from callback