Nice place other than gate code not working properly