Fixed anying bugs and it works