Reverse the order to avoid NPE