add parse key method to params