bill adpater bug fix