Fix type on Cupcake