bug fix bad interface implemented