fixed stub problem