Fix path to function