Fixed out-of-sync error #fixes 7