fixed typo that messed up ajax request