fixed type decs, it just needed a roll back