fix from Alexandros Vellis regarding missed SM_PATH statement