Fixed undefined cb error.