not sue if correct but it's only failing due to an empty class being applied to the output