fix bug due to different default