fixed some setting stuff for cap