Fixed out of order statement