apfrom not working