fix hardcoding that was supposed to be fixed