bugfix for user cert creation