fix errors with follow functions