Fix wrong path for ajax call on show statistics