fixed types to Longs in Specs