fixing some obvious bad usage of cons