removed async xhr execution