fixed lapd API usage