fixing status bug introduced when changing apis.

fixes #449