status object not initialized correctly