fixed warmstarting bug