fixed robolectric bug