Fixed SetStatus() Function's BUG