Caps constructor fixed