fake candidate generation and fixes to api methods