fixed stripe error from class