fix for when not learning