fixed stupid bug for test