adding parameter field to append to api url
bugfix