Fixed The code