Fixed wrong state