trying to fix the reflect bug