remove unused import, causes error on prod
fix logic error for filtering restricted fields #170