fix format of scan params