garbage code fixed