constructor clean up