Fixes Ajax Call